package com.sduept.nwld.dataserver.enums;

public enum FieldType {
	Integer {
		@Override
		public java.lang.String getDBType() {
			return "INT";
		}
	},	
	Double{
		@Override
		public java.lang.String getDBType() {
			return "DOUBLE";
		}
	},
	Float{
		@Override
		public java.lang.String getDBType() {
			return "FLOAT";
		}
	},
	Blob{
		@Override
		public java.lang.String getDBType() {
			return "VARCHAR(255)";
		}
	},
	String{
		@Override
		public java.lang.String getDBType() {
			return "VARCHAR(255)";
		}
	},
	varchar{
		@Override
		public java.lang.String getDBType() {
			return "VARCHAR(255)";
		}
	},
	File{
		@Override
		public java.lang.String getDBType() {
			return "VARCHAR(255)";
		}
	},
	DateTime{
		@Override
		public java.lang.String getDBType() {
			return "TIMESTAMP";
		}
	},
	datetime{
		@Override
		public java.lang.String getDBType() {
			return "DATETIME";
		}
	},
	Date{
		@Override
		public java.lang.String getDBType() {
			return "DATE";
		}
	},
	Long{
		@Override
		public java.lang.String getDBType() {
			return "BIGINT";
		}
	},
	DataSet{
		@Override
		public java.lang.String getDBType() {
			return null;
		}
	},
	Tinyint{
		@Override
		public java.lang.String getDBType() {
			return "tinyint";
		}
	};
	
	public abstract String getDBType();
}
